import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

export default new VueRouter({
    routes: [
        {
            path: '/',
            component: () => import('../component/home.vue')
        },
        {
            path: '/task',
            component: () => import('../component/task.vue')
        },
        {
            path: '/script',
            component: () => import('../component/script.vue')
        },
        {
            path: '/zlscript',
            component: () => import('../component/zlscript.vue')
        }
    ]
})
